package com.nineclock.sign.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.nineclock.sign.pojo.SignInfo;
import com.nineclock.system.dto.DepartmentOrUserSimpleDTO;
import com.nineclock.system.dto.DepartmentOrUserSimpleDTO;
import com.nineclock.system.dto.SysDepartmentDTO;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * PC: 查询签到列表
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SignInfoDTO implements Serializable {

    //id
    private Long id;

    //职位
    private String post;

    //用户名称
    private String username;

    //工号
    private String workNumber;

    //部门数据 //id name
    private SysDepartmentDTO department;

    //签到次数 和 日期
    private List<SignsDTO> signs;




}
